/*滚动条凹槽的颜色，还可以设置边框属性 */

*::-webkit-scrollbar-track-piece {
    background-color: #f8f8f8;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}


/*滚动条的宽度*/

*::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}


/*滚动条的设置*/

*::-webkit-scrollbar-thumb {
    background-color: #dddddd;
    background-clip: padding-box;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}


/*滚动条鼠标移上去*/

*::-webkit-scrollbar-thumb:hover {
    background-color: #bbb;
}


/*滚动条组件背景色*/

.ps .ps__rail-x:hover,
.ps .ps__rail-y:hover,
.ps .ps__rail-x:focus,
.ps .ps__rail-y:focus,
.ps .ps__rail-x.ps--clicking,
.ps .ps__rail-y.ps--clicking {
    background-color: transparent!important;
}


/* router view transition */

.zoom-fade-enter-active,
.zoom-fade-leave-active {
    transition: transform 0.35s, opacity 0.28s ease-in-out;
}

.zoom-fade-enter-from {
    opacity: 0;
    transform: scale(0.97);
}

.zoom-fade-leave-to {
    opacity: 0;
    transform: scale(1.03);
}

.table-page-search-wrapper {
    .ant-form-inline {
        .ant-form-item {
            display: flex;
            margin-bottom: 24px;
            margin-right: 0;
            .ant-form-item-control-wrapper {
                flex: 1 1;
                display: inline-block;
                vertical-align: middle;
            }
            >.ant-form-item-label {
                line-height: 32px;
                padding-right: 8px;
                width: auto;
            }
            .ant-form-item-control {
                height: 32px;
                line-height: 32px;
            }
        }
    }
    .table-page-search-submitButtons {
        display: block;
        margin-top: 4px;
        white-space: nowrap;
    }
}

.content {
    .table-operator {
        margin-bottom: 18px;
        button {
            margin-right: 8px;
        }
    }
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; //不换行
    display: -webkit-box;
    -webkit-line-clamp: 1; // 超出1行则以...形式隐藏
    -webkit-box-orient: vertical;
    cursor: pointer;
}
.flex-box{
    display: flex;
    &.rt{
        justify-content: flex-end;
    }
}

.ant-tree-treenode-switcher-open{
    overflow: hidden;
}

.amap-logo {
    display: none !important;
    visibility: hidden !important;
}

.amap-copyright {
    display: none !important;
    visibility: hidden !important;
}

.amap-marker-label {
    border: 0;
    background-color: transparent;
    font-weight: bold;
}
